﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;

namespace LotteryWCF.Constract
{
	[DataContract]
	public class User
	{
		[DataMember]
		public Int64 ID
		{
			get;
			set;
		}
		[DataMember]
		public Int64 RoleID
		{
			get;
			set;
		}
		[DataMember]
		public string UserId
		{
			get;
			set;
		}
		[DataMember]
		public string UserPwd
		{
			get;
			set;
		}
		[DataMember]
		public string ParentUID
		{
			get;
			set;
		}
		[DataMember]
		public DateTime RegTime
		{
			get;
			set;
		}
		[DataMember]
		public Int64 IsOnline
		{
			get;
			set;
		}
		[DataMember]
		public DateTime LastLoginTime
		{
			get;
			set;
		}
		[DataMember]
		public Int64 IsActive
		{
			get;
			set;
		}
		/// <summary>
		/// 奖金，额外津贴；红利，额外股息；返点	
		/// </summary>
		[DataMember]
		public double Bonus
		{
			get;
			set;
		}
		[DataMember]
		public string FullPath
		{
			get;
			set;
		}
	}
}